home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr47
/
wasm223.zip
/
OMEGA
< prev
next >
Wrap
Text File
|
1993-05-04
|
2KB
|
56 lines
//
// Session macro to log on to the Omega BBS
// By Eric Tauck
//
// attempt log-on
: logon
CLEAR // clear screen
mes1 MESS // display message
dial DialPhone CALL // dial the number
NOT noconnect ?JUMP // jump if no connect
inp1 out1 PromptRespond CALL // first prompt and response
NOT abort ?JUMP // exit if timeout
inp2 out2 PromptRespond CALL // second prompt and response
NOT abort ?JUMP // exit if timeout
QUIT // exit
// no connect
: noconnect
mes3 VERIFY // try again?
logon ?JUMP // loop back if so
-45 KREP // simulate an ALT-X (negative scan code)
QUIT // exit
// abort
: abort
mes2 ERROR // display error message
-45 KREP // simulate an ALT-X (negative scan code)
QUIT // exit
// data
: dial " AT &D2 DT15123288402" // dial and modem init string
: inp1 " RETURN: " // user id prompt
: out1 " USERID^M" // user id, put your user id here
: inp2 " password:" // password prompt
: out2 " PASSWORD^M" // password, put your password here
: mes1 " * Logging on to Omega BBS"
: mes2 " Unable to log on to system"
: mes3 " Unable to connect, try again"
// include files
INCLUDE c:\session\logon
INCLUDE c:\session\receive
INCLUDE c:\session\send
INCLUDE c:\session\string
INCLUDE c:\session\timer